Write-back cache policy to limit data transfer time to a memory device

ABSTRACT

Systems, apparatuses, and methods related to a write-back cache policy to limit data transfer time to a memory device are described. A controller can orchestrate performance of operations to write data to a cache according to a write-back policy and write addresses associated with the data to a buffer. The controller can further orchestrate performance of operations to limit an amount of data stored by the buffer and/or a quantity of addresses stored in the buffer. In response to a power failure, the controller can cause the data stored in the cache to be flushed to a persistent memory device in communication with the cache.

PRIORITY INFORMATION

This application is a Continuation of U.S. application Ser. No.17/114,613, filed on Dec. 8, 2020, the contents of which areincorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates generally to semiconductor memory andmethods, and more particularly, to apparatuses, systems, and methods fora write-back cache policy to limit data transfer time to a memorydevice.

BACKGROUND

Memory devices are typically provided as internal, semiconductor,integrated circuits in computers or other electronic systems. There aremany different types of memory including volatile and non-volatilememory. Volatile memory can require power to maintain its data (e.g.,host data, error data, etc.) and includes random access memory (RAM),dynamic random access memory (DRAM), static random access memory (SRAM),synchronous dynamic random access memory (SDRAM), and thyristor randomaccess memory (TRAM), among others. Non-volatile memory can providepersistent data by retaining stored data when not powered and caninclude NAND flash memory, NOR flash memory, and resistance variablememory such as phase change random access memory (PCRAM), resistiverandom access memory (RRAM), and magnetoresistive random access memory(MRAM), such as spin torque transfer random access memory (STT RAM),among others.

Memory devices may be coupled to a host (e.g., a host computing device)to store data, commands, and/or instructions for use by the host whilethe computer or electronic system is operating. For example, data,commands, and/or instructions can be transferred between the host andthe memory device(s) during operation of a computing or other electronicsystem.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a functional block diagram in the form of a computing systemincluding an apparatus including a memory system, which includes acontroller, a buffer, a cache, a power source, and a memory device inaccordance with a number of embodiments of the present disclosure.

FIG. 2 is a functional block diagram in the form of a computing systemincluding an apparatus including a memory system, which includes acontroller, a buffer, a cache, a power source, and multiple memorydevices in accordance with a number of embodiments of the presentdisclosure.

FIG. 3 is functional block diagram in the form of a memory systemincluding a buffer, a cache, and a memory device in accordance with anumber of embodiments of the present disclosure.

FIG. 4 is another functional block diagram in the form of a memorysystem including a buffer, a cache, and a memory device in accordancewith a number of embodiments of the present disclosure.

FIG. 5 is a flow diagram representing an example method for a write-backcache policy to limit data transfer time to a memory device inaccordance with a number of embodiments of the present disclosure.

DETAILED DESCRIPTION

Systems, apparatuses, and methods related to a write-back cache policyto limit data transfer time to a memory device are described. Acontroller can orchestrate performance of operations to write data to acache according to a write-back policy and write addresses associatedwith the data to a buffer. The controller can further orchestrateperformance of operations to limit an amount of data stored by thebuffer and/or a quantity of addresses stored in the buffer. In responseto a power failure, the controller can cause the data stored in thecache to be flushed to a persistent memory device in communication withthe cache.

Memory devices may be used to store important or critical data in acomputing device and can transfer such data between a host associatedwith the computing device and a memory system couplable to the host. Asthe size and quantity of data written to, and retrieved from, a memorysystem (e.g. a memory device associated with a memory system) increases,larger amounts of data may be “in flight” within a computing device atany given time.

In the event of a power event, such as a power failure, experienced bythe computing device, data that is not written to a persistent memorydevice (e.g., a non-volatile memory resource) associated with thecomputing device can be lost. For example, data that is written to anon-persistent memory device (e.g., a volatile memory resource), such asdynamic random-access memory (DRAM), static random-access memory (SRAM),and/or various types of caches, among others, can be lost in the eventof a power failure or other failure of the computing device.

As used herein, a volatile memory resource may be referred to in thealternative as a “non-persistent memory device” while a non-volatilememory resource may be referred to in the alternative as a “persistentmemory device.” However, a persistent memory device can more broadlyrefer to the ability to access data in a persistent manner. As anexample, in the persistent memory context, the memory device can storelogical to physical mapping or translation data and/or lookup tables ina memory array in order to track the location of data in the memorydevice, separate from whether the memory is non-volatile. Further, apersistent memory device can refer to both the non-volatility of thememory in addition to using that non-volatility by including the abilityto service commands for successive processes (e.g., by using logical tophysical mapping, look-up tables, etc.).

Due to the ever increasing size of memory devices and the everincreasing quantity of data that can be stored by a computing device,the amount of data (e.g., data that has not been committed to apersistent or non-volatile memory device) that can be lost as a resultof a power failure (or other failure) of the computing device trendstowards increasing over time commensurate with increases in memorydevice size and increases in data storage expectations.

The loss of data that has not been written (e.g., committed) to apersistent or non-volatile memory device that can occur as a result of apower (or other) failure of the computing system can cause issues tousers of a computing system as well as computing resource providers.Such issues can be further exacerbated in the context of softwaredefined data center computing architectures where multiple users andcomputing resource providers may be involved. Accordingly, it maybeneficial to provide a mechanism by which data that has not beencommitted to a persistent or non-volatile memory device at the time ofthe power failure is written as quickly and efficiently as possible to apersistent or non-volatile memory device to mitigate the loss of datathat can result from the power failure.

Some approaches attempt to address the above described issues byattempting to write data to a “save area” (e.g., a volatilenon-persistent memory space) of the memory system and subsequentlywriting the data from the save area to a persistent or non-volatilememory device. However, such approaches can require that the data isintermediately written from the save area to a non-persistent cache inresponse to a power failure followed by an attempt to “flush” the cacheto a persistent or non-volatile memory device within a period of timefollowing the power failure. Although this can allow for some data thatwould otherwise be lost to be written to the persistent or non-volatilememory device, additional power and clock cycles may be involved inwriting the data first from the save area to the cache and then from thecache to the persistent or non-volatile memory device.

Some other approaches can employ a write-through policy in committingdata to a persistent or non-volatile memory device. A write-throughpolicy, as referred to herein, is a policy in which data is written to acache and to a persistent or non-volatile memory device essentiallyconcurrently. Although such policies can allow for data to be committedin “real time” to the persistent or non-volatile memory device, suchapproaches can experience shortcomings in the event of a power failureof the computing system. For example, because data is written to boththe cache and the persistent or non-volatile memory device essentiallyconcurrently in such approaches, in the event of a power failure, thememory system may be only be able to write a small amount of the datathat was intended to be written to the persistent or non-volatile memorydevice before any back-up power supplies are exhausted.

In contrast, embodiments described herein are directed to a memorysystem that includes a mechanism by which one or more caches of a memorysystem employ a write back policy (in comparison to a write throughpolicy) to reduce an overall write bandwidth associated with flushingcache data to a persistent or non-volatile memory device by allowing formultiple write requests to be coalesced prior to performing a writeoperation to commit the data to the persistent or non-volatile memory.By coalescing the write requests prior to performing the writeoperation, large bursts of data (e.g., data associated with multiplewrite requests) may be written to the persistent or non-volatile memory,which can allow for greater data throughput to the persistent ornon-volatile memory device in the event of a power failure of thecomputing system. This can be especially advantageous given the finiteamount of time available to transfer data to a persistent ornon-volatile memory device subsequent to a power failure of thecomputing device.

In further contrast to some approaches, embodiments described herein aredirected to a memory system that can determined which portions of thecache contain “dirty” cache lines and refrain from writing addresses ordata to the buffer that corresponds to such “dirty” cache lines. As usedherein, the term “dirty cache line” generally refers to cache lines thatcontain data that has been updated since the data stored in the cachehas been written to the memory device. Accordingly, embodiments hereincan allow for the available size of the buffer to be effectivelyincreased (e.g., due to not having to expend buffer resources to rewritedata corresponding to dirty cache lines to the buffer) in comparison toapproaches that do not contemplate or account for data stored in thecache that has not been updated since a previous writing of the contents(or portions thereof) of the cache to the persistent or non-volatilememory device. By limiting the amount of data (e.g., addresses) that arestored in the buffer and/or by not rewriting data to the cache that isalready stored therein, such embodiments can be especially advantageousin reducing the time and power used in writing data to the persistent ornon-volatile memory device in the event of a power failure of thecomputing system.

As described in more detail herein, embodiments of the presentdisclosure can be facilitated by a memory system that includes acontroller, a buffer (e.g., a first-in, first-out (FIFO) buffer), acache, and a memory device. The controller can orchestrate performanceof operations involving the buffer, the cache, and/or the memory deviceto limit a flush time associated with writing data (in particular“dirty” cache lines that contain data that has been updated since thedata stored in the cache has been written to the memory device) from thecache to the memory device in the event of a power failure. For example,the controller can receive memory requests from a host and determinewhether the memory requests are read requests or write requests. Forreceived write requests, the controller can issue a write request to thecache and cause an address associated with data corresponding to thewrite request to be written to the buffer. As mentioned above anddescribed herein, in some embodiments, if the controller determines thata write request corresponds to data that is already stored in the cache(e.g., a dirty cache line), the controller can refrain from writingaddresses or data to the buffer that corresponds to data that is alreadystored in the cache to effectively increase the quantity of addressesand/or the amount of data that can be written to the buffer.

Once a quantity of addresses written to the buffer exceeds a threshold(e.g., a predetermined threshold quantity of stored addresses), in someembodiments, the data corresponding to the write requests is written tothe memory device. In addition to, or in the alternative, once it isdetermined that an amount of data written to the cache exceeds athreshold, the contents of the cache can be written to the memorydevice. In some embodiments, once the threshold quantity of addressesstored in the buffer and/or the threshold quantity of data written tothe cache is exceeded, the buffer and/or the cache can be granted a highdata transfer priority in order to write the data to the memory devicequickly to prevent the quantity of addresses written to the bufferand/or the amount of data written to the cache from further exceedingthe threshold.

In some embodiments, the threshold(s) can correspond to a quantity ofaddresses and/or an amount of data that can be written to the memorydevice within a particular period of time subsequent to, for example,detection of a power failure. For example, the threshold quantity ofaddresses associated with the buffer can represent a maximum amount ofdata that can be written to the memory device in the time betweendetection of a power failure and the expiration of any back-up powerprovided to the memory system. Accordingly, as the quantity of addresseswritten to the buffer and/or the amount of data written to the cacheapproaches a respective threshold, data transfer bandwidth associatedwith the buffer and/or cache can be increased to allow for the quantityof addresses and/or the amount of data to be reduced below thethresholds.

In some embodiments, the memory system can be a Compute Express Link(CXL) compliant memory system (e.g., the memory system can include aPCIe/CXL interface). CXL is a high-speed central processing unit(CPU)-to-device and CPU-to-memory interconnect designed to acceleratenext-generation data center performance. CXL technology maintains memorycoherency between the CPU memory space and memory on attached devices,which allows resource sharing for higher performance, reduced softwarestack complexity, and lower overall system cost.

CXL is designed to be an industry open standard interface for high-speedcommunications, as accelerators are increasingly used to complement CPUsin support of emerging applications such as artificial intelligence andmachine learning. CXL technology is built on the peripheral componentinterconnect express (PCIe) infrastructure, leveraging PCIe physical andelectrical interfaces to provide advanced protocol in areas such asinput/output (I/O) protocol, memory protocol (e.g., initially allowing ahost to share memory with an accelerator), and coherency interface.

In the following detailed description of the present disclosure,reference is made to the accompanying drawings that form a part hereof,and in which is shown by way of illustration how one or more embodimentsof the disclosure may be practiced. These embodiments are described insufficient detail to enable those of ordinary skill in the art topractice the embodiments of this disclosure, and it is to be understoodthat other embodiments may be utilized and that process, electrical, andstructural changes may be made without departing from the scope of thepresent disclosure.

As used herein, designators such as “N,” “M,” etc., particularly withrespect to reference numerals in the drawings, indicate that a number ofthe particular feature so designated can be included. It is also to beunderstood that the terminology used herein is for the purpose ofdescribing particular embodiments only, and is not intended to belimiting. As used herein, the singular forms “a,” “an,” and “the” caninclude both singular and plural referents, unless the context clearlydictates otherwise. In addition, “a number of,” “at least one,” and “oneor more” (e.g., a number of memory banks) can refer to one or morememory banks, whereas a “plurality of” is intended to refer to more thanone of such things.

Furthermore, the words “can” and “may” are used throughout thisapplication in a permissive sense (i.e., having the potential to, beingable to), not in a mandatory sense (i.e., must). The term “include,” andderivations thereof, means “including, but not limited to.” The terms“coupled” and “coupling” mean to be directly or indirectly connectedphysically or for access to and movement (transmission) of commandsand/or data, as appropriate to the context. The terms “data” and “datavalues” are used interchangeably herein and can have the same meaning,as appropriate to the context.

The figures herein follow a numbering convention in which the firstdigit or digits correspond to the figure number and the remaining digitsidentify an element or component in the figure. Similar elements orcomponents between different figures may be identified by the use ofsimilar digits. For example, 104 may reference element “04” in FIG. 1 ,and a similar element may be referenced as 204 in FIG. 2 . A group orplurality of similar elements or components may generally be referred toherein with a single element number. For example, a plurality ofreference elements 216-1 to 216-N may be referred to generally as 216.As will be appreciated, elements shown in the various embodiments hereincan be added, exchanged, and/or eliminated so as to provide a number ofadditional embodiments of the present disclosure. In addition, theproportion and/or the relative scale of the elements provided in thefigures are intended to illustrate certain embodiments of the presentdisclosure and should not be taken in a limiting sense.

FIG. 1 is a functional block diagram in the form of a computing system100 including an apparatus including a memory system 104, which includesa controller 106, a buffer 108, a cache 110, a power source 112, and amemory device 116 in accordance with a number of embodiments of thepresent disclosure. As used herein, an “apparatus” can refer to, but isnot limited to, any of a variety of structures or combinations ofstructures, such as a circuit or circuitry, a die or dice, a module ormodules, a device or devices, or a system or systems, for example. Inthe embodiment illustrated in FIG. 1 , the memory device 116 can includeone or more memory modules (e.g., single in-line memory modules, dualin-line memory modules, etc.). The memory device 116 can includevolatile memory and/or non-volatile memory. In a number of embodiments,the memory device 116 can include a multi-chip device. A multi-chipdevice can include a number of different memory types and/or memorymodules. For example, a memory system can include non-volatile orvolatile memory on any type of a module.

The memory device 116 can provide main memory for the computing system100 or could be used as additional memory or storage throughout thecomputing system 100. The memory device 116 can include one or morearrays of memory cells, e.g., volatile and/or non-volatile memory cells.The arrays can be flash arrays with a NAND architecture, for example.Embodiments are not limited to a particular type of memory device. Forinstance, the memory device can include RAM, ROM, DRAM, SDRAM, PCRAM,RRAM, and flash memory, among others. Although shown as a single memorydevice 116, it will be appreciated that multiple memory devices, such asthe memory devices 216-1 to 216-N illustrated in FIG. 2 , arecontemplated within the scope of the disclosure.

In embodiments in which the memory device 116 includes persistent ornon-volatile memory, the memory device 116 can be flash memory devicessuch as NAND or NOR flash memory devices. Embodiments are not solimited, however, and the memory device 116 can include othernon-volatile memory devices such as non-volatile random-access memorydevices (e.g., NVRAM, ReRAM, FeRAM, MRAM, PCM), “emerging” memorydevices such as a ferroelectric RAM device that includes ferroelectriccapacitors that can exhibit hysteresis characteristics, a 3-D Crosspoint(3D XP) memory device, etc., or combinations thereof.

As an example, a ferroelectric RAM device can include ferroelectriccapacitors and can perform bit storage based on an amount of voltage orcharge applied thereto. In such examples, relatively small andrelatively large voltages allow the ferroelectric RAM device to exhibitcharacteristics similar to normal dielectric materials (e.g., dielectricmaterials that have a relatively high dielectric constant) but atvarious voltages between such relatively small and large voltages theferroelectric RAM device can exhibit a polarization reversal that yieldsnon-linear dielectric behavior.

As another example, a 3D XP array of non-volatile memory can perform bitstorage based on a change of bulk resistance, in conjunction with astackable cross-gridded data access array. Additionally, in contrast tomany flash-based memories, 3D XP non-volatile memory can perform a writein-place operation, where a non-volatile memory cell can be programmedwithout the non-volatile memory cell being previously erased.

In some embodiments, the controller 106 can be a media controller suchas a non-volatile memory express (NVMe) controller. For example, thecontroller 106 can be configured to perform operations such as copy,write, read, error correct, etc. for the memory device 116. In addition,the controller 106 can include special purpose circuitry and/orinstructions to perform various operations described herein. That is, insome embodiments, the controller 106 can include circuitry and/orinstructions that can be executed to control movement of data and/oraddresses associated with data between the buffer 108, the cache 110,and/or the memory device 116. In some embodiments, circuitry and/orinstructions provided to the controller 106 can control writing of dataand/or addresses associated with the data to the memory device 116 inresponse to detection of a power failure of the computing system 100.

In some embodiments, the buffer 108 (e.g., buffer circuitry) can be adata buffer that includes a region of a physical memory storage used totemporarily store data while it is being moved from one place toanother. The buffer 108 can be a first-in, first-out (FIFO) buffer inwhich the oldest (e.g., the first-in) data is processed first. In someembodiments, the buffer 108 can be a hardware shift register, a circularbuffer, or a list.

In some embodiments, the cache 110 can include a region of a physicalmemory storage used to temporarily store data that is likely to be usedagain. The cache 110 can include a pool of data entries that have beenwritten thereto. In some embodiments, the cache 110 can be configured tooperate according to a write-back policy. As used herein, a “write-backpolicy” generally refers to a caching policy in which data is written tothe cache 110 without the data being concurrently written to the memorydevice 116. Accordingly, in some embodiments, data written to the cache110 may not have a corresponding data entry in the memory device 116 andmay therefore be subject to loss in the event of a power failure of thecomputing system 100.

In some embodiments, the power source 112 can be a back-up power sourcethat can be operated in the event of a power failure of the computingsystem 100 to provide temporary power to the memory system 104 whiledata is written to the memory device 116. However, the time during whichthe power source 112 can provide power to the memory system 104 can berelatively short. As a result, it is critical that data is written fromthe buffer 108 and/or the cache 110 to the memory device 116 asefficiently as possible to ensure as much data as possible is committedto the memory device 116 before all power to the memory system 104 islost.

Accordingly, in order to facilitate transfer of all (or most) data thatis not committed to the memory device 116 when a power failure occurs,embodiments herein seek to maximize data organization and data transferefficiency by maintaining entries in the buffer 108 and/or the cache 110such that, at any given time, all the data associated with the buffer108 and/or the cache 110 can be transferred to the memory device 116within the amount of time that the power source 112 can provide power tothe memory system 104. For example, as described in more detail herein,the quantity of addresses written to the cache 108 and/or the amount ofdata written to the cache 110 can be controlled such that the quantityof addresses written to the cache 108 and/or the amount of data writtento the cache 110 does not exceed a threshold that corresponds to amaximum amount of data that can be transferred to the memory device 116within the amount of time that the power source 112 can provide power tothe memory system 104.

In a non-limiting example, apparatus (e.g., the computing system 100 orthe memory system 104) includes buffer circuitry (e.g., the buffer 108),a cache 110 coupled to the buffer circuitry 108, a memory device 116coupled to the cache 108, and a controller 106 coupled to the buffercircuitry 108, the cache 110, and the memory device 116. The controller106 can receive of write requests involving the cache 110 and cause dataassociated with each of the write requests to be written to the cache110. In some embodiments, the controller 106 can receive the writerequests at a rate of thirty-two (32) gigatransfers per second (e.g., insome embodiments, the controller 106 can receive the write requestsaccording to a CXL protocol). The controller 106 can also receive readrequests and cause data stored in the memory device 116 to be retrievedand written to, for example, the host 102. The cache 110 can includemultiple cache lines, which can each be configured to store aroundsixty-four (64) bytes of data. Embodiments are not limited to thisparticular cache line size, however, and the cache line size can bechosen to correspond a line size associated with an external processingdevice such as the CPU 107.

Continuing with this example, the controller 106 can cause addressesassociated with the data associated with each of the write requests tobe written to the buffer circuitry 108. As described above, in someembodiments, the buffer circuitry can be a first-in, first-out (FIFO)buffer. The controller 106 can then monitor a quantity of addresseswritten to the buffer circuitry 108 and/or an amount of data written tothe cache 110 to determine whether the buffer circuitry 108 containsgreater than a threshold quantity of addresses associated with each ofthe write requests and/or to determine whether the cache 110 containsgreater than a threshold quantity of data associated with each of thewrite requests. The threshold quantity of data can correspond to aparticular amount of data associated with each of the write requeststhat is able to be flushed from the cache to the memory device within aparticular amount of time subsequent to receipt of the signalingindicative of a power failure. In some embodiments, the particularamount of time can correspond to an amount of time after which powerwill be lost to at least one of the controller 106, the memory device116, the cache 110, or the buffer 108, or any combination thereof.

In some embodiments, the controller 106 can determine that the quantityof addresses written to the buffer circuitry 108 contains greater thanthe threshold quantity of addresses associated with each of the writerequests and cause at least a portion of the data written to the cache110 to be prioritized for writing to the memory device 116 responsive todetermining that the quantity of addresses written to the buffercircuitry 108 contains greater than the threshold quantity of addressesassociated with each of the write operations. This can allow for themaximum amount of data stored in the cache 110 to be limited such thatthe amount of data stored in the cache 110 can be written to the memorydevice 116 within an amount of time subsequent to a power failure of theapparatus during which the power source 112 can provide back-up power tothe apparatus.

The controller 106 can receive signaling indicative of a power failureexperienced by the apparatus and cause the data to be written from thecache 110 to the memory device 116 responsive to receipt of thesignaling indicative of the power failure. For example, in response toreceipt of an indication that the apparatus has experienced a powerfailure, the controller 106 can cause data that is stored in the cache110 but has not been committed to the memory device 116 to be written tothe memory device 116 before back-up power to the apparatus is lost. Asdescribed above, this can allow for data that could otherwise be lostduring a power failure to be stored and later recovered.

In some embodiments, the controller 106 can cause a first portion of thedata written to the cache 110 to be written to the memory device 116 ata first data transfer rate for a first period of time responsive toreceipt of the signaling indicative of the power failure and cause asecond portion of the data written to the cache 110 to be written to thememory device 116 at a second data transfer rate for a second period oftime subsequent to the first period of time. That is, in someembodiments, the controller 106 can increase the rate at which the datais written to the cache 110 subsequent to determining that a powerfailure has occurred to ensure that all the data stored in the cache 110is written to the memory device 116 prior to loss of back-up powerprovided to the apparatus.

Embodiments are not so limited, however, and in some embodiments, thecontroller 106 can cause a first portion of the data written to thecache 110 to be written to the memory device 116 at a first datatransfer rate for a first period of time and a second portion of thedata written to the cache 110 to be written to the memory device 116 ata second data transfer rate for a second period of time subsequent tothe first period of time responsive to a determination that the buffer108 the buffer circuitry 108 contains greater than a threshold quantityof addresses associated with each of the write requests and/or adetermination that the cache 110 contains greater than a thresholdquantity of data associated with each of the write requests.

This can allow for other data traffic and/or memory requests associatedwith the memory system 104 and/or the computing system 100 to beprocessed in a timely manner while still allowing for a quantity ofaddresses stored by the buffer circuitry 108 and/or an amount of datastored by the cache 110 to remain below the thresholds described herein.For example, in some approaches, data written from the cache 110 to thememory device 116 may have a low priority such that data written fromthe cache 110 to the memory device 116 is written less frequently and/orat a lower data transfer rate than certain other types of data writesthat involve the memory device 116.

However, in order to ensure that the amount of data stored by the cache110 and/or the quantity of addresses stored in the buffer 108 remainsbelow the thresholds described herein, when data write operations tocommit data stored in the cache 110 to the memory device 116,embodiments herein allow for such write operations to be prioritizedsuch that, at least for a first period of time, the data is written tothe memory device 116 more frequently than normal and/or at a higherdata transfer rate than normal while allowing for a reduced frequency ofdata transfer and/or a reduced transfer rate for a second period of timeshould other higher priority memory requests be received by the memorysystem 104. Further, some embodiments can allow for such writeoperations to be prioritized such that, at least for a first period oftime, the data is written to the memory device 116 more frequently thannormal and/or at a higher data transfer rate than normal while allowingfor a further increased frequency of data transfer and/or a furtherincreased transfer rate for a second period of time should it bedetermined that the cache 110 needs to be flushed even more quickly.

That is, in contrast to approaches that generally do not prioritize datawrites from a cache, such as the cache 110 to the memory device 116,embodiments herein can dynamically alter the rate at which data can bewritten from the cache 110 to the memory device 116 in the absence of apower event or power failure responsive to a determination that thequantity of addresses written to the buffer 108 and/or the amount ofdata written to the cache 110 corresponds to the buffer 108 and/or thecache 110 containing greater than the threshold quantity of addressesand/or data associated with write requests. Accordingly, embodimentsdescribed herein can allow for the rate at which data can be writtenfrom the cache 110 to the memory device 116 in the absence of a powerevent or power failure to be controlled to allow for efficient transferof data from the cache 110 to the memory device 116 as necessary whilebalancing efficient transfer of other memory requests within thecomputing system 100.

As illustrated in FIG. 1 , a host 102 can be coupled to the memorysystem 104 via an interface 103. The interface 103 can be any type ofcommunication path, bus, or the like that allows for information to betransferred between the host 102 and the memory system 104. Non-limitingexamples of interfaces can include a peripheral component interconnect(PCI) interface, a peripheral component interconnect express (PCIe)interface, a serial advanced technology attachment (SATA) interface,and/or a miniature serial advanced technology attachment (mSATA)interface, among others. However, in at least one embodiment, theinterface 103 is a PCIe 5.0 interface that is compliant with the computeexpress link (CXL) protocol standard. Accordingly, in some embodiments,the interface 103 can support transfer speeds of at least 32gigatransfers per second.

In some embodiments, the interface 103 can be configured such thatsignaling can be selectively transferred via the interface 103 accordingto multiple protocols. For example, signaling can be selectivelytransferred via the interface 103 according a cache protocol in whichdata is transferred between a host and the memory system 104 and amemory protocol in which data is transferred between a host and thememory device 116. In some embodiments, the cache protocol can beinvoked to efficiently cache data associated with the host memory 105according to a request and response approach. In contrast, the memoryprotocol can be invoked to provide access to the memory device 116 bythe host using read/write command with the host processor (e.g., the CPU107) acting as a master device and the memory device 116 acting as asubordinate device.

In a number of embodiments, the memory device 116 can be resident on thememory system 104, however, embodiments are not so limited and, in someembodiments, the memory device 116 can be external to the memory system104, as shown in FIG. 2 . Further, although a single memory device 116is illustrated in FIG. 1 , more than one memory device can be includedin the computing system 100, as illustrated in FIG. 2 . As used herein,the term “resident on” refers to something that is physically located ona particular component. For example, the memory device 116 being“resident on” the memory system 104 refers to a condition in which thememory device 116 is physically within the memory system 104. The term“resident on” may be used interchangeably with other terms such as“deployed on” or “located on,” herein.

The host 102 can include host memory 105 and a central processing unit(CPU) 107. The host 102 can be a host system such as a personal laptopcomputer, a desktop computer, a digital camera, a smart phone, a memorycard reader, and/or internet-of-thing enabled device, among variousother types of hosts, and can include a memory access device, e.g., aprocessor (or processing device). One of ordinary skill in the art willappreciate that “a processor” can intend one or more processors, such asa parallel processing system, a number of coprocessors, etc.

The host 102 can include a system motherboard and/or backplane and caninclude a number of processing resources (e.g., one or more processors,microprocessors, or some other type of controlling circuitry). Thesystem 100 can include separate integrated circuits or the host 102, thememory system 104 the controller 106, the buffer 108, the cache 110, thepower source 112, and the memory device 116 can be on the sameintegrated circuit. The system 100 can be, for instance, a server systemand/or a high-performance computing (HPC) system and/or a portionthereof. Although the example shown in FIG. 1 illustrate a system havinga Von Neumann architecture, embodiments of the present disclosure can beimplemented in non-Von Neumann architectures, which may not include oneor more components (e.g., CPU, ALU, etc.) often associated with a VonNeumann architecture.

The embodiment of FIG. 1 can include additional circuitry that is notillustrated so as not to obscure embodiments of the present disclosure.For example, the storage controller 104 can include address circuitry tolatch address signals provided over I/O connections through I/Ocircuitry. Address signals can be received and decoded by a row decoderand a column decoder to access the memory device 116. It will beappreciated by those skilled in the art that the number of address inputconnections can depend on the density and architecture of the memorydevice 116.

FIG. 2 is a functional block diagram in the form of a computing system200 including an apparatus including a memory system 204, which includesa controller 206, a buffer 208, a cache 210, a power source 212, andmultiple memory devices 216-1 to 216-N in accordance with a number ofembodiments of the present disclosure. The computing system 200 can beanalogous to the computing system 100 illustrated in FIG. 1 .Accordingly, the memory system 204, the controller 206, the buffer 208,the cache 210, and/or the power source 212 can be analogous to thememory system 104, the controller 106, the buffer 108, the cache 110,and/or the power source 112 illustrated in FIG. 1 .

In FIG. 2 , multiple memory devices 216-1 to 216-N are illustrated. Atleast one of the memory devices 216-1 to 216-N can be analogous to thememory device 116 illustrated in FIG. 1 . For example, at least one ofthe memory devices 216-1 to 216-N can be an “emerging” memory device, asdescribed above. In embodiments that include multiple memory devices216-1 to 216-N, the controller 206 can selectively determine which ofthe memory devices 216-1 to 216-N to transfer data associated with theaddresses written to the buffer 208 and/or data written to the cache 210in the event of a power failure of the computing system 200.

In a non-limiting example, a system, such as the computing system 200 orthe memory system 204 can include first-in, first-out (FIFO) buffercircuitry (e.g., the buffer 208), a cache 210 coupled to the FIFO buffercircuitry, a persistent memory device (e.g., at least one of the memorydevices 216-1 to 216-N) coupled to the cache 210, and a controller 206coupled to the FIFO buffer circuitry, the cache 210, and the memorydevice 216. Continuing with this example, the controller 206 can receiveone or more write requests involving the cache 210 and cause dataassociated with each of the plurality of write requests to be written tothe cache 210. Further, the controller 206 can cause addressesassociated with the data associated with each of the write requests tobe written to the FIFO buffer circuitry.

In some embodiments, the controller 206 can monitor a quantity ofaddresses written to the FIFO buffer circuitry or an amount of datawritten to the cache, or both, to determine whether the FIFO buffercircuitry contains greater than a threshold quantity of addressesassociated with each of the write requests and/or whether the cache 210contains greater than a threshold quantity of data associated with eachof the write requests. The controller 206 can further cause at least aportion of the data written to the cache 210 to be prioritized forwriting to the persistent memory device responsive to determining thatthe quantity of addresses written to the FIFO buffer circuitry containsgreater than the threshold quantity of addresses associated with each ofthe write operations and/or that the cache contains greater than athreshold quantity of data associated with each of the write requests.

In some embodiments, the controller 206 can determine that particulardata previously written to the cache 210 corresponds to data associatedwith at least one of the write requests and refrain from writing anaddress corresponding to the particular data previously written to thecache 210 to the buffer based 208, at least in part, on thedetermination. That is, in some embodiments, the controller 206 candetermine that an address that corresponds to a cache line that beenoverwritten by an intervening write request is already stored in thebuffer 208 and refrain from re-writing a corresponding address to thebuffer 208. This can effectively increase the available size of thebuffer 208 and can further reduce power consumption and/or improveperformance of a computing system in comparison to approaches that donot employ the concepts described herein. In addition, time spent inwriting the addresses to the buffer 208 and/or power consumed in writingaddresses to the buffer 208 can be reduced in comparison to approachesthat fail to account for whether or not an address corresponding to aline of the cache 210 is already stored in the buffer 208.

As described above, in some embodiments, the controller 206 can receivesignaling indicative of a power failure experienced by the apparatus andcause the data to be written from the cache 210 to the persistent memorydevice responsive to receipt of the signaling indicative of the powerfailure. The controller 206 can, in some embodiments, cause a firstportion of the data written to the cache 210 to be written to thepersistent memory device at a first data transfer rate for a firstperiod of time responsive to receipt of the signaling indicative of thepower failure and cause a second portion of the data written to thecache 210 to be written to the persistent memory device at a second datatransfer rate for a second period of time subsequent to the first periodof time.

In some embodiments, the threshold quantity of addresses can correspondto a particular amount of data associated with each of the writerequests that are able to be flushed from the cache 210 to thepersistent memory device within a particular amount of time subsequentto receipt of the signaling indicative of the power failure. Further, insome embodiments, the threshold quantity of data associated with each ofthe write requests can correspond to a particular amount of data thatare able to be flushed from the cache 210 to the persistent memorydevice within a particular amount of time subsequent to receipt of thesignaling indicative of the power failure. Further, in some embodiments,the particular amount of time can correspond to an amount of time afterwhich power will be lost to at least one of the controller 206, thepersistent memory device, the cache 210, or the FIFO buffer circuitry,or any combination thereof.

Continuing with this example, the system can include a host 202 systemcouplable to the controller 206. In some embodiments, the cache 210 caninclude one or more cache lines that can each be aligned to a cache linesize corresponding to the host 202 system. In some embodiments, thesystem can further include a peripheral component interconnect express(PCIe) 5.0 interface (e.g., the interface 203 coupled to the controller206. In such embodiments, the controller 206 can receive the writerequests involving the cache 210 via the PCIe 5.0 interface according toa compute express link protocol.

FIG. 3 is functional block diagram in the form of a memory system 304including a buffer 308, a cache 310, and a memory device 316 inaccordance with a number of embodiments of the present disclosure. Thememory system 304, the buffer 308, the cache 310, and the memory device316 can be analogous to the memory system 104/204, the buffer 108/208,the cache 110/210, and the memory device 116/216 illustrated in FIGS. 1and 2 , herein. Although shown as a single memory device 316, it will beappreciated that multiple memory devices, such as the memory devices216-1 to 216-N illustrated in FIG. 2 , are contemplated within the scopeof the disclosure. As shown in FIG. 3 , the memory system 304 canfurther include a data selector 318.

A memory request 315 can be received by the memory system 304. Thememory request can be a read request (e.g., a request to retrieve datastored by the memory device 316) or a write request (e.g., a request towrite data to the memory device 316). In some embodiments, the memoryrequest 315 is received from circuitry external to the memory system304, such as from a host (e.g., the host 102/202 illustrated in FIGS. 1and 2 , herein). The memory request 315 can be received via an interface303, which can be analogous to the interface 103/203 illustrated inFIGS. 1 and 2 , herein.

In some embodiments, the interface 303 can be configured such thatsignaling can be selectively transferred via the interface 303 accordingto multiple protocols. For example, signaling can be selectivelytransferred via the interface 303 according a cache protocol in whichdata is transferred between a host and the memory system 304 and amemory protocol in which data is transferred between a host and thememory device 316. In some embodiments, the cache protocol can beinvoked to efficiently cache host memory (e.g., data associated with thehost memory 105/205 illustrated in FIGS. 1 and 2 , herein) according toa request and response approach. In contrast, the memory protocol can beinvoked to provide access to the memory device 316 by the host usingread/write command with the host processor (e.g., the CPU 107/207illustrated in FIGS. 1 and 2 , herein) acting as a master device and thememory device 316 acting as a subordinate device.

In some embodiments, the memory request 315 can be received via theinterface 303 and selectively diverted to the buffer 308 via thecommunication path 309 or the memory request 315 can be selectivelydiverted to the memory device 316 via the cache 318 via thecommunication path 311. In a non-limiting example, the communicationpath 309 can represent that signaling indicative of a cache protocol hasbeen transferred (e.g., from the host) via the interface 303 while thecommunication path 311 can represent that signaling indicative of amemory protocol has been transferred (e.g., from the host) via theinterface 303.

Embodiments are not so limited, however, and in some embodiments,signaling indicative of a write request can be selectively diverted viathe communication path 309, while signaling indicative of a read requestcan be selectively diverted via the communication path 311. However, insome embodiments, signaling indicative of a write-back operation can beselectively diverted via the communication path 309 to the buffer 308and/or the cache 310, while signaling indicative of a write-throughoperation can be selectively diverted to the cache 310 and/or the memorydevice 316 via the communication path 311.

The signaling received as part of receipt of the memory request 315 canbe received by a controller (e.g., the controller 106/206 illustrated inFIGS. 1 and 2 , herein) from the host. Accordingly, the controller canprocess the memory request 315 to cause the memory request 315 to beselectively diverted to the communication path 309 or the communicationpath 311 based on characteristics of the memory request 315. Suchcharacteristics can include whether the memory request 315 involves aread request, a write request, a write-through operation, and/or awrite-back operation, among other characteristics associated with thememory request 315.

In embodiments in which the memory request 315 corresponds to a writerequest, the controller can cause data associated with the write requestto be written to the cache 310 without writing the data to the memorydevice 316. In addition, the controller can cause an address associatedwith the data corresponding to the write request to be written to thebuffer 308. As more write requests are processed and written to thecache 310 (and corresponding addresses are written to the buffer 308),the total quantity of addresses written to the buffer 308 and/or thetotal amount of data written to the cache 310 can be monitored.

As described above, a threshold maximum total quantity of addresseswritten to the buffer 308 and/or a threshold maximum total amount ofdata written to the cache 310 can be set and the total quantity ofaddresses written to the buffer 308 and/or the total amount of datawritten to the cache 310 can be monitored to ensure that total quantityof addresses written to the buffer 308 and/or the total amount of datawritten to the cache 310 do not exceed the threshold maximum totalquantity of addresses written to the buffer 308 and/or the thresholdmaximum total amount of data written to the cache 310.

If the threshold maximum total quantity of addresses written to thebuffer 308 and/or the threshold maximum total amount of data written tothe cache 310 is exceeded (or is nearly exceeded), the data stored inthe cache 310 can be written to the memory device 316 to free up spacein the cache 310. In some embodiments, the transfer of data from thecache 310 to the memory device 316 in response to the threshold maximumtotal quantity of addresses written to the buffer 308 and/or thethreshold maximum total amount of data written to the cache 310 beingexceeded (or nearly exceeded) can be prioritized over other incoming oroutgoing data traffic to ensure that the cache 310 is evacuated quicklyand/or efficiently. Once the data (or a predetermined percentage of thedata) has been written from the cache 310 to the memory device 316, thewriting of data from the cache 310 to the memory device 316 can bede-prioritized and normal data transfer rates within the memory system304 can be utilized.

By limiting the maximum total quantity of addresses written to thebuffer 308 and/or the maximum total amount of data written to the cache310 at any given time in such a manner, it can be ensured that all thedata written to the cache 310 can be written to the memory device 316 inthe event of a power event (e.g., a power failure) experienced by thememory system 304. That is, by maintaining the maximum total quantity ofaddresses written to the buffer 308 and/or the maximum total amount ofdata written to the cache 310 such that it is below the thresholdmaximum total quantity of addresses written to the buffer 308 and/or thethreshold maximum total amount of data written to the cache 310 at anygiven time, it can be ensured that the data written to the cache 310 canbe written to the memory device 316 within an amount of time thatback-up power can be provided to the memory system 304 in the event of apower failure. As described above, the back-up power can be supplied tothe memory device by a power source such as the power source 112/212illustrated in FIGS. 1 and 2 , herein.

As described earlier, the buffer 308 can be a first-in, first-outbuffer. Accordingly, when the threshold maximum total quantity ofaddresses written to the buffer 308 and/or the threshold maximum totalamount of data written to the cache 310 is exceeded (or is nearlyexceeded), data corresponding to the earlies addresses written to thebuffer 308 can be processed first. As a result, in some embodiments,data written to the cache 310 that has been stored in the cache 310 forthe longest period of time can be written to the memory device 316first, with the second oldest data being written to the memory device316 second, and so forth.

FIG. 4 is another functional block diagram in the form of a memorysystem 404 including a buffer 408, a cache 410, and a memory device 416in accordance with a number of embodiments of the present disclosure.The memory system 404, the buffer 408, the cache 410, and the memorydevice 416 can be analogous to the memory system 104/204/304, the buffer108/208/308, the cache 110/210/310, and the memory device 116/216/316illustrated in FIGS. 1-3 , herein. Although shown as a single memorydevice 416, it will be appreciated that multiple memory devices, such asthe memory devices 216-1 to 216-N illustrated in FIG. 2 , arecontemplated within the scope of the disclosure. As shown in FIG. 4 ,the memory system 404 can further include a data selector 418, which canbe analogous to the data selector 318 illustrated in FIG. 3 , herein.Further, the communication paths 409 and 411 can be analogous to thecommunication paths 309 and 311 illustrated in FIG. 3 .

As shown in FIG. 4 , the memory device 416 can be external to the memorysystem 404 (similar to the memory devices 216-1 to 216-N described abovein connection with FIG. 2 ). Accordingly, in general, the operationsperformed by the memory system 404 illustrated in FIG. 4 arecommensurate with those described in connection with the operationsperformed by the memory system 104/204/304 described above in connectionwith FIGS. 1-3 , while the operations performed by the memory device 416are commensurate with those described in connection with the operationsperformed by the memory device(s) 116/216/316 described above inconnection with FIGS. 1-3 .

FIG. 5 is flow diagram representing an example method 530 for awrite-back cache policy to limit data transfer time to a memory devicein accordance with a number of embodiments of the present disclosure.The method 530 can be performed by processing logic that can includehardware (e.g., processing device, circuitry, dedicated logic,programmable logic, microcode, hardware of a device, integrated circuit,etc.), software (e.g., instructions run or executed on a processingdevice), or a combination thereof. In some embodiments, the method 530is performed by the controller 106 illustrated in FIG. 1 . Althoughshown in a particular sequence or order, unless otherwise specified, theorder of the processes can be modified. Thus, the illustratedembodiments should be understood only as examples, and the illustratedprocesses can be performed in a different order, and some processes canbe performed in parallel. Additionally, one or more processes can beomitted in various embodiments. Thus, not all processes are required inevery embodiment. Other process flows are possible.

At block 531, the method 530 can include receiving, by a controller, aplurality of write requests involving a cache associated with a memorysystem. The controller can be analogous to the controller 106/206illustrated in FIGS. 1 and 2 , herein, while the cache can be analogousto the cache 110/210/310/410 illustrated in FIGS. 1-4 , herein. Thememory system can be analogous to the memory system 104/204/304/404illustrated in FIGS. 1-4 , herein. In some embodiments, the plurality ofwrite requests can be received by the controller via a compute expresslink compliant interface, such as the interface 103/203 illustrated inFIGS. 1 and 2 , herein.

At block 532, the method 530 can include causing, by the controller,data associated with each of the plurality of write requests to bewritten to the cache. The data can, in some embodiments, be written tothe cache according to a write-back policy in which the data is writtento the cache without concurrently writing the data to the memory device.

At block 533, the method 530 can include causing, by the controller,addresses corresponding to the data associated with each of the writerequests to be written to buffer circuitry coupled to the cache. Thebuffer circuitry can be analogous to the buffer 108/208/308/408illustrated in FIGS. 1-4 , herein.

At block 534, the method 530 can include monitoring, by the controller,a quantity of addresses written to the buffer circuitry and/or an amountof data written to the cache to determine whether the cache containsgreater than a threshold quantity of data associated with each of thewrite requests.

At block 535, the method 530 can include receiving, by the controller,signaling indicative of a power failure experienced by the memorysystem. In some embodiments, receipt of the signaling indicative of thepower failure can cause a memory system (e.g., the memory system104/204/304/404 illustrated in FIGS. 1-4 , herein) coupled to thecontroller to enter a back-up power mode in which power is temporarilysupplied to the memory system by an internal power source such as thepower source 112/212 illustrated in FIGS. 1 and 2 , herein.

At block 536, the method 530 can include causing, by the controller, thedata to be written from the cache to a memory device of the memorysystem responsive to receipt of the signaling indicative of the powerfailure. The memory device can be analogous to the memory device116/216/316/416 illustrated in FIGS. 1-4 , herein. In some embodiments,the quantity of addresses written to the buffer circuitry and/or thethreshold quantity of data associated with each of the write requestscan correspond to a particular amount of data that are able to beflushed from the cache to the memory device within a particular amountof time subsequent to receipt of the signaling indicative of the powerfailure. The particular amount of time can correspond to an amount oftime after which power will be lost to at least one of the controller,the memory device, the memory system, the cache, or the buffercircuitry, or any combination thereof.

In some embodiments, the method 530 can include determining that thequantity of addresses written to the buffer circuitry and/or the amountof data written to the cache corresponds to the cache containing greaterthan the threshold quantity of data associated with each of the writerequests and causing at least a portion of the data written to the cacheto be prioritized for writing to the memory device responsive to thedetermination. In some embodiments, the method 530 can further includedetermining, by the controller, that particular data previously writtento the cache corresponds to data associated with at least one of theplurality of write requests and/or refraining from writing an addresscorresponding to the particular data previously written to the cache tothe buffer circuitry based, at least in part, on the determination.

By refraining from rewriting addresses to the buffer that correspond todata that has previously written to the cache (e.g., by refraining fromupdating dirty cache lines and/or by overwriting dirty cache lines withnewly written data), embodiments herein can effectively increase theavailable size of the buffer, thereby reducing power consumption and/orimproving performance of the computing system in comparison toapproaches that do not employ the concepts described herein. Inaddition, time spent in writing the addresses to the buffer and/or powerconsumed in writing addresses to the buffer can be reduced in comparisonto approaches that fail to account for whether or not the cache containsdirty data and selectively write addresses to the cache based on suchinformation.

The method 530 can also include causing, by the controller, a firstportion of the data written to the cache to be written to the memorydevice at a first data transfer rate for a first period of timeresponsive to receipt of the signaling indicative of the power failureand causing, by the controller, a second portion of the data written tothe cache to be written to the memory device at a second data transferrate for a second period of time subsequent to the first period of time.In some embodiments, the second data transfer rate can be greater thenthe first data transfer rate to ensure that the buffer does not becomeoverrun with addresses, thereby eliminating the possibility that datastored in the cache is lost.

In a non-limiting example, a method can include receiving, by acontroller (e.g., the controller 106/206 illustrated in FIGS. 1 and 2 ,herein), a plurality of memory requests involving a cache (e.g., thecache 110/210/310/410 illustrated in FIGS. 1-4 , herein) of a memorysystem (e.g., the memory system 104/204/304/404 illustrated in FIGS. 1-4, herein) and determining, by the controller, whether respective memoryrequests among the plurality of memory requests corresponds to a writeoperation or a read operation. Such methods can further include causing,by the controller, writing of respective addresses associated with eachmemory request that corresponds to a determined write operation to abuffer (e.g., the buffer 108/208/308/408 illustrated in FIGS. 1-4 ,herein) coupled to the cache and monitoring, by the controller, anamount of data written to the cache that corresponds to the respectiveaddresses associated with each memory request that corresponds to thedetermined write operation written to the buffer to determine whetherthe cache contains greater than a threshold quantity of data associatedwith each respective memory request that corresponds to the determinedwrite operation.

In some embodiments, an amount of data corresponding to the thresholdquantity of addresses associated with each memory request thatcorresponds to the write operations corresponds to a particular quantityof data written to the cache that is available to be flushed to thememory device within a particular amount of time subsequent to receiptof the signaling indicative of the power event experienced by the memorysystem. Further, in some embodiments, the particular amount of timecorresponds to an amount of time after which power will be lost to atleast one of the controller, the memory system, the cache, or the memorydevice, or any combination thereof.

Continuing with this non-limiting example, a method in accordance withthe disclosure can further include receiving, by the controller,signaling indicative of a power event experienced by the memory systemand causing, by the controller, data corresponding to the respectiveaddresses associated with each respective memory request thatcorresponds to the determined write operations to be written from thecache to a memory device couplable to the cache responsive to receipt ofthe signaling indicative of the power event. In some embodiments, themethod can include receiving, by the controller, signaling indicative ofa power failure of the memory system as part of receiving the signalingindicative of the power event experienced by the memory system.

Such methods can further include determining, by the controller, that anamount of data corresponding to the quantity of addresses written to thecache contains greater than the threshold quantity of addressesassociated with each respective memory request that corresponds to thedetermined write operations and causing, by the controller, at least aportion of the data corresponding to the addresses written to the bufferto be prioritized for writing from the cache to the memory deviceresponsive to determining that the amount of data corresponding to thequantity of addresses written to the buffer contains greater than thethreshold quantity of addresses associated with each memory request thatcorresponds to the write operations.

Further, such methods can include determining, by the controller, thatparticular data previously written to the cache corresponds to dataassociated with at least one write request and/or refraining fromwriting an address corresponding to the particular data previouslywritten to the cache to the buffer circuitry based, at least in part, onthe determination. Embodiments are not so limited, however, and in someembodiments such methods can include causing, by the controller, thedata corresponding to the respective addresses associated with eachmemory request that corresponds to the write operations to be writtenfrom the cache to the memory device at a first data transfer rate for afirst period of time responsive to receipt of the signaling indicativeof the power event and causing, by the controller, the datacorresponding to the respective addresses associated with each memoryrequest that corresponds to the write operations to be written from thecache to the memory device at a second data transfer rate for a secondperiod of time subsequent to the first period of time.

Although specific embodiments have been illustrated and describedherein, those of ordinary skill in the art will appreciate that anarrangement calculated to achieve the same results can be substitutedfor the specific embodiments shown. This disclosure is intended to coveradaptations or variations of one or more embodiments of the presentdisclosure. It is to be understood that the above description has beenmade in an illustrative fashion, and not a restrictive one. Combinationof the above embodiments, and other embodiments not specificallydescribed herein will be apparent to those of skill in the art uponreviewing the above description. The scope of the one or moreembodiments of the present disclosure includes other applications inwhich the above structures and processes are used. Therefore, the scopeof one or more embodiments of the present disclosure should bedetermined with reference to the appended claims, along with the fullrange of equivalents to which such claims are entitled.

In the foregoing Detailed Description, some features are groupedtogether in a single embodiment for the purpose of streamlining thedisclosure. This method of disclosure is not to be interpreted asreflecting an intention that the disclosed embodiments of the presentdisclosure have to use more features than are expressly recited in eachclaim. Rather, as the following claims reflect, inventive subject matterlies in less than all features of a single disclosed embodiment. Thus,the following claims are hereby incorporated into the DetailedDescription, with each claim standing on its own as a separateembodiment.

What is claimed is:
 1. A method, comprising: writing data associatedwith each of a plurality of write requests to a cache of a memorysystem; writing addresses corresponding to the data associated with theplurality of write requests to buffer circuitry coupled to the cache;monitoring a quantity of addresses written to the buffer circuitry, oran amount of data written to the cache, or both, to determine whetherthe cache contains greater than a threshold quantity of data associatedwith the plurality of write requests; and writing the data from thecache to a memory device of the memory system responsive to adetermination that the memory system has experienced a power event. 2.The method of claim 1, further comprising: determining that the quantityof addresses written to the buffer circuitry or the amount of datawritten to the cache, or both, corresponds to the cache containinggreater than the threshold quantity of data associated with theplurality of write requests; and prioritizing writing of at least aportion of the data written to the cache to the memory device responsiveto the determination.
 3. The method of claim 1, further comprising:determining that the quantity of addresses written to the buffercircuitry or the amount of data written to the cache, or both,corresponds to the cache containing greater than the threshold quantityof data associated with the plurality of write requests; writing a firstportion of the data written to the cache to the memory device at a firstdata transfer rate for a first period of time responsive to determiningthat the quantity of addresses written to the buffer circuitry or theamount of data written to the cache, or both, corresponds to the cachecontaining greater than the threshold quantity of data associated withthe plurality of write requests; and writing a second portion of thedata written to the to the memory device at a second data transfer ratefor a second period of time subsequent to the first period of time. 4.The method of claim 1, wherein the quantity of addresses written to thebuffer circuitry or the threshold quantity of data associated with theplurality of write requests, or both, corresponds to an amount of datathat are able to be transferred from the cache to the memory devicewithin a particular amount of time subsequent to the determination thatthe memory system has experienced the power event.
 5. The method ofclaim 4, wherein the particular amount of time corresponds to an amountof time after which power will be lost to at least one of the memorydevice, the memory system, the cache, or the buffer circuitry, or anycombination thereof.
 6. The method of claim 1, further comprising:determining that data previously written to the cache corresponds todata associated with at least one of the plurality of write requests;and refraining from writing an address corresponding to the datapreviously written to the cache to the buffer circuitry based, at leastin part, on the determination.
 7. The method of claim 1, wherein thememory system is a compute express link (CXL) compliant memory systemand wherein the plurality of write requests are received via a computeexpress link compliant interface.
 8. An apparatus, comprising: buffercircuitry; a cache coupled to the buffer circuitry; a memory devicecoupled to the cache; and a controller coupled to the buffer circuitry,the cache, and the memory device, wherein the controller is configuredto: write data associated with a plurality of memory requests to thecache; write addresses associated with the data associated with theplurality of memory requests to the buffer circuitry; determine whetherthe buffer circuitry contains greater than a threshold quantity ofaddresses associated with the plurality of memory requests, or the cachecontains greater than a threshold quantity of data associated with theplurality of memory requests, or both; and write the data from the cacheto the memory device responsive to a determination that the memorydevice has experienced a power event.
 9. The apparatus of claim 8,wherein the controller is configured to: determine that the quantity ofaddresses written to the buffer circuitry contains greater than thethreshold quantity of addresses associated with the plurality of memoryrequests; and prioritize writing of at least a portion of the datawritten to the cache to the memory device responsive to determining thatthe quantity of addresses written to the buffer circuitry containsgreater than the threshold quantity of addresses associated with theplurality of memory requests.
 10. The apparatus of claim 8, wherein thecache comprises a plurality of cache lines, and wherein each of thecache lines comprises around sixty-four bytes.
 11. The apparatus ofclaim 8, wherein the device is a compute express link compliant memorydevice.
 12. The apparatus of claim 8, wherein the write requests arereceived by the controller at a rate of around thirty-two (32)gigatransfers per second.
 13. The apparatus of claim 8, wherein thethreshold quantity of data associated with the plurality of memoryrequests corresponds to an amount of data that is able to be transferredfrom the cache to the memory device within a particular amount of timesubsequent to the determination that the memory device has experiencedthe power event.
 14. The apparatus of claim 8, wherein the controller isconfigured to: write a first portion of the data written to the cache tothe memory device at a first data transfer rate for a first period oftime responsive to determining that the quantity of addresses written tothe buffer circuitry or the amount of data written to the cache, orboth, corresponds to the cache containing greater than the thresholdquantity of data associated with the plurality of memory requests; andwrite a second portion of the data written to the cache to the memorydevice at a second data transfer rate for a second period of timesubsequent to the first period of time.
 15. The apparatus of claim 8,wherein the controller is configured to: determine that data previouslywritten to the cache corresponds to data associated with at least one ofthe plurality of memory requests; and refrain from writing an addresscorresponding to the data previously written to the cache to the bufferbased, at least in part, on the determination.
 16. A system, comprising:buffer circuitry; a cache coupled to the buffer circuitry; a memorydevice coupled to the cache; and a controller coupled to the buffercircuitry, the cache, and the memory device, wherein the controller isconfigured to: write data associated with a plurality of memory requeststo the cache; write addresses corresponding to the data associated withthe plurality of memory requests to the buffer circuitry; determinewhether the buffer circuitry contains greater than a threshold quantityof addresses associated with the plurality of memory requests or whetherthe cache contains greater than a threshold quantity of data associatedwith the plurality of memory requests, or both; cause at least a portionof the data written to the cache to be prioritized for writing to thememory device responsive to a determination that the quantity ofaddresses written to the buffer circuitry contains greater than thethreshold quantity of addresses associated with the plurality of memoryoperations or responsive to a determination that the cache containsgreater than a threshold quantity of data associated with the pluralityof memory requests, or both; and write the data from the cache to thememory device responsive to receipt of signaling indicative of a powerevent experienced by the system.
 17. The system of claim 16, wherein thecontroller is configured to: determine that particular data previouslywritten to the cache corresponds to data associated with at least one ofthe plurality of memory requests; and refrain from writing an addresscorresponding to the particular data previously written to the cache tothe buffer circuitry based, at least in part, on the determination. 18.The system of claim 16, wherein: the threshold quantity of dataassociated with the plurality of write requests corresponds to aparticular amount of data that are able to be transferred from the cacheto the memory device within a particular amount of time subsequent toreceipt of the signaling indicative of the power event, and theparticular amount of time corresponds to an amount of time after whichpower will be lost to at least one of the controller, the memory device,the cache, or the buffer circuitry, or any combination thereof.
 19. Thesystem of claim 16, further comprising a host system couplable to thecontroller, wherein: the cache comprises a plurality of cache lines, andeach of the cache lines is aligned to a cache line size corresponding tothe host system.
 20. The system of claim 16, further comprising aperipheral component interconnect express (PCIe) 5.0 or greaterinterface coupled to the controller, wherein the controller isconfigured to receive the plurality of memory requests via the PCIe 5.0interface according to a compute express link protocol.